import request from '@/utils/request'

export function objectList(data) {
	return request({
		url: '/object_list',
		method: 'get',
		params: data
	})
}

export function objectInfo(data) {
	return request({
		url: '/object_info',
		method: 'get',
		params: data
	})
}

export function objectInviteContact(data) {
	return request({
		url: '/object_invite_contact',
		method: 'post',
		data: data
	})
}

export function AgreeOrRefuseInvite(data) {
	return request({
		url: '/agree_or_refuse_invite',
		method: 'post',
		data: data
	})
}

export function objectInviteList() {
	return request({
		url: '/object_invite_list',
		method: 'get',
	})
}

export function objectOtherInviteList() {
	return request({
		url: '/object_other_invite_list',
		method: 'get',
	})
}